package com.hrz.lib.rxmvpdemo2.contract.main;

import com.rxmvp.baselibrary.base.mvp.IBasePresenter;
import com.rxmvp.baselibrary.base.mvp.IBaseView;

/**
 * MainActivity的契约管理接口，管理MainActivity的presenter接口和view接口
 *
 * 作者： huangRZ on 2017/1/21. 15:04
 * 邮箱：917647409@qq.com
 */
public interface MainContract {

    interface IPresenter extends IBasePresenter {
        void loadData();

        void cancelSubscription();
    }

    interface IView extends IBaseView {
        void setText(String text);

        void showPB();

        void hidePB();
    }

}
